set(vnni_ex1_srcs )
if(CMAKE_CXX_COMPILER_ID MATCHES Clang OR CMAKE_CXX_COMPILER_ID MATCHES GNU OR CMAKE_CXX_COMPILER_ID MATCHES AppleClang)
set(vnni_ex1_ass dotprod_vnni.s dotprod_novnni.s)
elseif(MSVC)
set(vnni_ex1_ass dotprod_vnni.asm dotprod_novnni.asm)
endif()
add_executable(vnni_ex1_tests ex1_test.cpp ${vnni_ex1_ass})
target_link_libraries(vnni_ex1_tests gtest_main optimisation_common)

IF( benchmark_FOUND )
  add_executable(vnni_ex1_bench ex1_bench.cpp ${vnni_ex1_ass})
  target_link_libraries(vnni_ex1_bench benchmark::benchmark optimisation_common)
ENDIF()

add_test(NAME vnni_ex1_test COMMAND vnni_ex1_tests)
